ADP\BaseVersion\Includes\Rule\GiftStrategy A

Total Complexity 64
Dependencies 13
Dependents 3
Total lines 423
Lines of code 249
Logical lines of code 165
Comment lines 82
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
addCartSetGifts()
B
37 18 74
addCartItemGifts()
B
37 17 72
prepareFreeCartItem()
A
48 11 34
convertGiftToFreeCartItemChoices()
S
50 7 28
processFreeItem()
S
52 5 24
canGift()
S
78 2 3
canItemGifts()
S
73 2 5
__construct()
S
73 1 5
addGifts()
S
76 1 4